package com.lanou.sfu.songforu.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TimePicker;

import com.lanou.sfu.songforu.R;
import com.lanou.sfu.songforu.base.BaseFragment;

/**
 * Created by dllo on 15/11/4.
 */
public class SelectCloseTimeFragment extends BaseFragment {
    private View v;
    private TimePicker timePicker;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        v = inflater.inflate(R.layout.fragment_select_closetime,null);
        timePicker = (TimePicker) v.findViewById(R.id.timePicker);
        return v;
    }

    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        timePicker.setOnTimeChangedListener(new TimePicker.OnTimeChangedListener() {
            @Override
            public void onTimeChanged(TimePicker view, int hourOfDay, int minute) {

            }
        });
    }

}
